import request from '@/utils/request'

// 查询downLog列表
export function listDownLog(query) {
  return request({
    url: '/system/downLog/list',
    method: 'get',
    params: query
  })
}

// 查询downLog详细
export function getDownLog(id) {
  return request({
    url: '/system/downLog/' + id,
    method: 'get'
  })
}

// 新增downLog
export function addDownLog(data) {
  return request({
    url: '/system/downLog',
    method: 'post',
    data: data
  })
}

// 修改downLog
export function updateDownLog(data) {
  return request({
    url: '/system/downLog',
    method: 'put',
    data: data
  })
}

// 删除downLog
export function delDownLog(id) {
  return request({
    url: '/system/downLog/' + id,
    method: 'delete'
  })
}
